/* Class7_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class7_Sub1 extends Class7
{
    public static int anInt2651;
    public static Class9 aClass9_2652;
    public static int anInt2653 = -1;
    public static int anInt2654;
    public static int anInt2655;
    public static Class124 aClass124_2656
	= Class14_Sub2_Sub2.method263(1178, "");
    public static Class9_Sub1 aClass9_Sub1_2657;
    public static int anInt2658;
    public static int anInt2659;
    public static Class124 aClass124_2660;
    public static boolean aBoolean2661;
    public static int anInt2662;
    public static short[] aShortArray2663;
    public static int anInt2664;
    public static Class14_Sub2_Sub5 aClass14_Sub2_Sub5_2665;
    
    public static Class124 method121(int arg0, int arg1) {
	Class124 class124;
	try {
	    Class124 class124_0_ = new Class124();
	    anInt2658++;
	    class124_0_.aByteArray2495 = new byte[arg0];
	    class124_0_.anInt2507 = 0;
	    int i = 72 / ((arg1 - -74) / 34);
	    class124 = class124_0_;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("jb.B(" + arg0 + ',' + arg1
						+ ')'));
	}
	return class124;
    }
    
    public static void method122(boolean arg0) {
    while_47_:
	do {
	while_46_:
	    do {
		do {
		    try {
			if (arg0)
			    method123((byte) -102);
			Class103.method1531((byte) -50, Class67.aClass94_1060);
			anInt2654++;
			Class125_Sub4.anInt3419++;
			if (Class122.aBoolean2056 && Class59.aBoolean954)
			    break;
			if (Class125_Sub4.anInt3419 > 1)
			    Class67.aClass94_1060 = null;
		    } catch (RuntimeException runtimeexception) {
			break while_46_;
		    }
		    return;
		} while (false);
		try {
		    int i = Class107.anInt1804;
		    i -= Canvas_Sub2.anInt63;
		    int i_1_ = Class14_Sub8_Sub33.anInt4640;
		    if (i < Class48.anInt798)
			i = Class48.anInt798;
		    if (Class67.aClass94_1060.anInt1545 + i
			> Class20.aClass94_420.anInt1545 + Class48.anInt798)
			i = (-Class67.aClass94_1060.anInt1545
			     + (Class48.anInt798
				+ Class20.aClass94_420.anInt1545));
		    i_1_ -= Class14_Sub8_Sub3.anInt4132;
		    if ((Class108.anInt1824 ^ 0xffffffff)
			< (i_1_ ^ 0xffffffff))
			i_1_ = Class108.anInt1824;
		    int i_2_ = -Class47.anInt796 + i;
		    if (Class67.aClass94_1060.anInt1518 + i_1_
			> Class20.aClass94_420.anInt1518 + Class108.anInt1824)
			i_1_ = (-Class67.aClass94_1060.anInt1518
				+ (Class20.aClass94_420.anInt1518
				   + Class108.anInt1824));
		    int i_3_ = -Class35.anInt602 + i_1_;
		    int i_4_ = Class67.aClass94_1060.anInt1580;
		    if ((Class67.aClass94_1060.anInt1549
			 < Class125_Sub4.anInt3419)
			&& ((i_4_ ^ 0xffffffff) > (i_3_ ^ 0xffffffff)
			    || (i_3_ ^ 0xffffffff) > (-i_4_ ^ 0xffffffff)
			    || (i_2_ ^ 0xffffffff) < (i_4_ ^ 0xffffffff)
			    || (i_2_ ^ 0xffffffff) > (-i_4_ ^ 0xffffffff)))
			Class14_Sub8_Sub6.aBoolean4188 = true;
		    int i_5_ = (Class20.aClass94_420.anInt1547
				+ -Class48.anInt798 + i);
		    int i_6_ = (Class20.aClass94_420.anInt1490 + i_1_
				+ -Class108.anInt1824);
		    if (Class67.aClass94_1060.anObjectArray1581 != null
			&& Class14_Sub8_Sub6.aBoolean4188) {
			Class14_Sub21 class14_sub21 = new Class14_Sub21();
			class14_sub21.anInt3114 = i_6_;
			class14_sub21.anObjectArray3115
			    = Class67.aClass94_1060.anObjectArray1581;
			class14_sub21.anInt3106 = i_5_;
			class14_sub21.aClass94_3116 = Class67.aClass94_1060;
			Class133_Sub3.method1830(class14_sub21, -1976917689);
		    }
		    if (-1 == (Class14_Sub8_Sub30.anInt4599 ^ 0xffffffff)) {
			if (Class14_Sub8_Sub6.aBoolean4188) {
			    if (Class67.aClass94_1060.anObjectArray1475
				!= null) {
				Class14_Sub21 class14_sub21
				    = new Class14_Sub21();
				class14_sub21.aClass94_3116
				    = Class67.aClass94_1060;
				class14_sub21.anInt3106 = i_5_;
				class14_sub21.aClass94_3105
				    = Class14_Sub19.aClass94_3070;
				class14_sub21.anObjectArray3115
				    = Class67.aClass94_1060.anObjectArray1475;
				class14_sub21.anInt3114 = i_6_;
				Class133_Sub3.method1830(class14_sub21,
							 -1976917689);
			    }
			    if (null != Class14_Sub19.aClass94_3070
				&& (client.method57(Class67.aClass94_1060)
				    != null)) {
				Class49.anInt808++;
				Class55.aClass14_Sub10_Sub1_891.method843(0,
									  179);
				Class55.aClass14_Sub10_Sub1_891.method803
				    (Class14_Sub19.aClass94_3070.anInt1548,
				     88);
				Class55.aClass14_Sub10_Sub1_891.method803
				    (Class67.aClass94_1060.anInt1548, 127);
				Class55.aClass14_Sub10_Sub1_891.method833
				    ((byte) 117,
				     Class67.aClass94_1060.anInt1478);
				Class55.aClass14_Sub10_Sub1_891.method838
				    (-1676904088,
				     Class14_Sub19.aClass94_3070.anInt1478);
			    }
			} else if ((1 != Class103.anInt1730
				    && !(Class127.method1754
					 (128,
					  -1 + Class14_Sub8_Sub38.anInt4729)))
				   || 2 >= Class14_Sub8_Sub38.anInt4729) {
			    if (Class14_Sub8_Sub38.anInt4729 > 0)
				Class107.method1551(-23473);
			} else
			    Class14_Sub2_Sub18.method382((byte) 127);
			Class67.aClass94_1060 = null;
		    }
		} catch (RuntimeException runtimeexception) {
		    break;
		}
		break while_47_;
	    } while (false);
	    Throwable throwable = new Throwable();
	    throw Class14_Sub8_Sub14.method554(throwable,
					       "jb.C(" + arg0 + ')');
	} while (false);
    }
    
    public static void method123(byte arg0) {
	try {
	    if (arg0 != -18)
		anInt2662 = 16;
	    aClass14_Sub2_Sub5_2665 = null;
	    aClass9_2652 = null;
	    aClass9_Sub1_2657 = null;
	    aClass124_2656 = null;
	    aShortArray2663 = null;
	    aClass124_2660 = null;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "jb.D(" + arg0 + ')');
	}
    }
    
    public static void method124(int arg0, int arg1, int arg2, int arg3,
				 int arg4, byte arg5) {
    while_49_:
	do {
	while_48_:
	    do {
		int i;
		int i_7_;
		int i_8_;
		int i_9_;
		int i_10_;
		int i_11_;
		int i_12_;
		do {
		    try {
			anInt2651++;
			i = 0;
			i_7_ = arg4;
			i_8_ = arg0 * arg0;
			i_9_ = arg4 * arg4;
			i_10_ = i_9_ << -647607999;
			i_11_ = arg4 << -894371327;
			i_12_ = i_8_ << 1417046753;
			if (arg5 >= 50)
			    break;
		    } catch (RuntimeException runtimeexception) {
			break while_48_;
		    }
		    return;
		} while (false);
		try {
		    int i_13_ = i_9_ + -(i_12_ * (-1 + i_11_));
		    int i_14_ = (1 + -i_11_) * i_8_ + i_10_;
		    int i_15_ = i_9_ << -216523102;
		    int i_16_ = i_8_ << 482252290;
		    int i_17_ = i_10_ * (3 + (i << 867607169));
		    int i_18_ = i_15_ * (1 + i);
		    int i_19_ = ((i_7_ << 1907073217) + -3) * i_12_;
		    if (arg3 >= Class14_Sub17.anInt3005
			&& (Class59.anInt955 ^ 0xffffffff) <= (arg3
							       ^ 0xffffffff)) {
			int i_20_
			    = Class67.method1301((byte) 93, arg2 - -arg0,
						 Class118.anInt1982,
						 Class14_Sub8_Sub14.anInt4327);
			int i_21_
			    = Class67.method1301((byte) -122, -arg0 + arg2,
						 Class118.anInt1982,
						 Class14_Sub8_Sub14.anInt4327);
			Class51.method1201((Class14_Sub2_Sub19
					    .anIntArrayArray4038[arg3]),
					   i_21_, i_20_, -5973, arg1);
		    }
		    int i_22_ = (-1 + i_7_) * i_16_;
		    while (-1 > (i_7_ ^ 0xffffffff)) {
			if (-1 < (i_14_ ^ 0xffffffff)) {
			    while (-1 < (i_14_ ^ 0xffffffff)) {
				i_13_ += i_18_;
				i_18_ += i_15_;
				i++;
				i_14_ += i_17_;
				i_17_ += i_15_;
			    }
			}
			if (i_13_ < 0) {
			    i_14_ += i_17_;
			    i_17_ += i_15_;
			    i_13_ += i_18_;
			    i++;
			    i_18_ += i_15_;
			}
			i_13_ += -i_19_;
			int i_23_ = --i_7_ + arg3;
			int i_24_ = i_7_ + arg3;
			if ((i_24_ ^ 0xffffffff) <= (Class14_Sub17.anInt3005
						     ^ 0xffffffff)
			    && Class59.anInt955 >= i_23_) {
			    int i_25_
				= Class67.method1301((byte) -70, i + arg2,
						     Class118.anInt1982,
						     (Class14_Sub8_Sub14
						      .anInt4327));
			    int i_26_
				= Class67.method1301((byte) 76, -i + arg2,
						     Class118.anInt1982,
						     (Class14_Sub8_Sub14
						      .anInt4327));
			    if (Class14_Sub17.anInt3005 <= i_23_)
				Class51.method1201((Class14_Sub2_Sub19
						    .anIntArrayArray4038
						    [i_23_]),
						   i_26_, i_25_, -5973, arg1);
			    if ((Class59.anInt955 ^ 0xffffffff)
				<= (i_24_ ^ 0xffffffff))
				Class51.method1201((Class14_Sub2_Sub19
						    .anIntArrayArray4038
						    [i_24_]),
						   i_26_, i_25_, -5973, arg1);
			}
			i_14_ += -i_22_;
			i_19_ -= i_16_;
			i_22_ -= i_16_;
		    }
		} catch (RuntimeException runtimeexception) {
		    break;
		}
		break while_49_;
	    } while (false);
	    Throwable throwable = new Throwable();
	    throw Class14_Sub8_Sub14.method554(throwable,
					       ("jb.A(" + arg0 + ',' + arg1
						+ ',' + arg2 + ',' + arg3 + ','
						+ arg4 + ',' + arg5 + ')'));
	} while (false);
    }
    
    static {
	anInt2655 = 0;
	aShortArray2663 = new short[256];
	aBoolean2661 = true;
	aClass124_2660 = Class14_Sub2_Sub2.method263(1178, "rot:");
    }
}
